
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/fuLongHengDong.svg';
import { $homePageSvgComponentPropsInterface } from "../../interface";
import HomePage_SvgComponent from ".";

// 主页-福隆横洞svg组件
const HomePage_FuLongHengDongSvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 2660
    const height = 1130
    const cardList = [
        {
            name: "高压母线",
            top: 34,
            left: 288,
            key: "",
        },
        {
            name: "低压母线-左",
            top: 144,
            left: 37,
            key: "",
        },
        {
            name: "变压器1-左",
            top: 91,
            left: 411,
            key: "",
        },
        {
            name: "变压器1-右",
            top: 147,
            left: 907,
            key: "",
        },
        {
            name: "主供电源进线",
            top: 147,
            left: 1034,
            key: "",
        },
        {
            name: "备用电源进线",
            top: 147,
            left: 1167,
            key: "",
        },
        {
            name: "计量柜",
            top: 147,
            left: 1339,
            key: "",
        },
        {
            name: "PT柜",
            top: 147,
            left: 1472,
            key: "",
            unit: "kV",
        },
        {
            name: "横洞变电所主供",
            top: 147,
            left: 1602,
            key: "",
        },
        {
            name: "出口+横洞变电设备用",
            top: 147,
            left: 1719,
            key: "",
        },
        {
            name: "变压器2-左",
            top: 147,
            left: 1836,
            key: "",
        },
        {
            name: "变压器2-右",
            top: 91,
            left: 2214,
            key: "",
        },
        {
            name: "低压母线-右",
            top: 144,
            left: 25100,
            key: "",
        },
        {
            name: "左洞基本照明1-1-左",
            top: 269,
            left: 98,
            key: "",
        },
        {
            name: "左洞基本照明2-1-左",
            top: 269,
            left: 217,
            key: "",
        },
        {
            name: "左洞基本照明3-1-左",
            top: 269,
            left: 336,
            key: "",
        },
        {
            name: "左洞过渡加强照明",
            top: 269,
            left: 455,
            key: "",
        }, {
            name: "左洞基本照明4-1-左",
            top: 269,
            left: 574,
            key: "",
        },
        {
            name: "左洞基本照明5-1-左",
            top: 269,
            left: 693,
            key: "",
        },
        {
            name: "左洞基本照明3-1-左",
            top: 269,
            left: 812,
            key: "",
        },
        {
            name: "备用1-1-左",
            top: 269,
            left: 931,
            key: "",
        },
        {
            name: "备用2-1-左",
            top: 269,
            left: 1050,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 269,
            left: 1169,
            key: "",
        },
        {
            name: "母联柜",
            top: 269,
            left: 1362,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 269,
            left: 1478,
            key: "",
        },
        {
            name: "通风风机1",
            top: 269,
            left: 1596,
            key: "",
        },
        {
            name: "通风风机2",
            top: 269,
            left: 1714,
            key: "",
        },
        {
            name: "通风风机3",
            top: 269,
            left: 1832,
            key: "",
        },
        {
            name: "排烟风机1",
            top: 269,
            left: 1950,
            key: "",
        },
        {
            name: "排烟风机2",
            top: 269,
            left: 2068,
            key: "",
        },
        {
            name: "排烟风机3",
            top: 269,
            left: 2186,
            key: "",
        },
        {
            name: "备用2-1-右",
            top: 269,
            left: 2304,
            key: "",
        },
        {
            name: "备用1-1-右",
            top: 269,
            left: 2422,
            key: "",
        },
        {
            name: "备用3-1-右",
            top: 269,
            left: 2540,
            key: "",
        },
        {
            name: "左洞出口加强照明1",
            top: 494,
            left: 98,
            key: "",
        },
        {
            name: "右洞入口加强照明1",
            top: 494,
            left: 217,
            key: "",
        },
        {
            name: "右洞入口加强照明2",
            top: 494,
            left: 336,
            key: "",
        },
        {
            name: "右洞过渡加强照明1",
            top: 494,
            left: 455,
            key: "",
        },
        {
            name: "左洞基本照明5-2-左",
            top: 494,
            left: 574,
            key: "",
        },
        {
            name: "右洞基本照明1-2-左",
            top: 494,
            left: 693,
            key: "",
        },
        {
            name: "右洞基本照明2-2-左",
            top: 494,
            left: 812,
            key: "",
        },
        {
            name: "备用1-2-左",
            top: 494,
            left: 931,
            key: "",
        },
        {
            name: "备用2-2-左",
            top: 494,
            left: 1050,
            key: "",
        },
        {
            name: "消防（主）",
            top: 494,
            left: 1477,
            key: "",
        },
        {
            name: "备用1-2-右",
            top: 494,
            left: 1595,
            key: "",
        },
        {
            name: "备用2-2-右",
            top: 494,
            left: 1713,
            key: "",
        },
        {
            name: "备用3-2-右",
            top: 494,
            left: 1831,
            key: "",
        },
        {
            name: "备用4-2-右",
            top: 494,
            left: 1949,
            key: "",
        },
        {
            name: "备用5-2-右",
            top: 494,
            left: 2067,
            key: "",
        },
        {
            name: "备用6-2-右",
            top: 494,
            left: 2185,
            key: "",
        },
        {
            name: "备用7-2-右",
            top: 494,
            left: 2303,
            key: "",
        },
        {
            name: "备用8-2-右",
            top: 494,
            left: 2421,
            key: "",
        },
        {
            name: "右洞基本照明1-3-左",
            top: 709,
            left: 98,
            key: "",
        },
        {
            name: "右洞基本照明2-3-左",
            top: 709,
            left: 217,
            key: "",
        },
        {
            name: "右洞基本照明3-3-左",
            top: 709,
            left: 336,
            key: "",
        },
        {
            name: "右洞基本照明4-3-左",
            top: 709,
            left: 455,
            key: "",
        },
        {
            name: "引道照明",
            top: 709,
            left: 574,
            key: "",
        },
        {
            name: "消防（备）",
            top: 709,
            left: 693,
            key: "",
        },
        {
            name: "备用1-3-左",
            top: 709,
            left: 812,
            key: "",
        },
        {
            name: "备用2-3-左",
            top: 709,
            left: 931,
            key: "",
        },
        {
            name: "左洞应急照明1-3-右",
            top: 709,
            left: 1437,
            key: "",
        },
        {
            name: "左洞应急照明2-3-右",
            top: 709,
            left: 1555,
            key: "",
        },
        {
            name: "左洞应急照明3-3-右",
            top: 709,
            left: 1673,
            key: "",
        },
        {
            name: "右洞应急照明1-3-右",
            top: 709,
            left: 1791,
            key: "",
        },
        {
            name: "右洞应急照明2-2-右",
            top: 709,
            left: 1909,
            key: "",
        },
        {
            name: "右洞应急照明3-3-右",
            top: 709,
            left: 2027,
            key: "",
        },
        {
            name: "备用1-3-右",
            top: 709,
            left: 2145,
            key: "",
        },
        {
            name: "备用1-2-右",
            top: 709,
            left: 2263,
            key: "",
        },
        {
            name: "备用3-3-右",
            top: 709,
            left: 2381,
            key: "",
        },
        {
            name: "车行横洞配电箱",
            top: 709,
            left: 2499,
            key: "",
        },
        {
            name: "变电所用电",
            top: 934,
            left: 98,
            key: "",
        },
        {
            name: "UPS",
            top: 934,
            left: 217,
            key: "",
        },
        {
            name: "左检修插座",
            top: 934,
            left: 336,
            key: "",
        },
        {
            name: "右检修插座",
            top: 934,
            left: 455,
            key: "",
        },
        {
            name: "备用1-4-左",
            top: 934,
            left: 574,
            key: "",
        },
        {
            name: "备用2-4-左",
            top: 934,
            left: 693,
            key: "",
        },
        {
            name: "备用3-4-左",
            top: 934,
            left: 812,
            key: "",
        },
        {
            name: "备用4-4-左",
            top: 934,
            left: 931,
            key: "",
        },
        {
            name: "EPS回路",
            top: 934,
            left: 1050,
            key: "",
        },
    ]
    const rowGeneratrixList = ["高压母线", "低压母线-左", "低压母线-右"]
    const row14List = ["变压器1-左", "变压器2-右"]

    const dialogBoxList = [
        {
            name: "变压器1",
            top: 148,
            left: 545,
            key: "",
            direction: "Up"
        },
        {
            name: "主供电源进线",
            top: 70,
            left: 1017,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源进线",
            top: 148,
            left: 1147,
            key: "",
            direction: "Up"
        },
        {
            name: "变压器2",
            top: 148,
            left: 2152,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明1-1-左",
            top: 301,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-1-左",
            top: 378,
            left: 205,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-1-左",
            top: 301,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞过渡加强照明",
            top: 378,
            left: 440,
            key: "",
            direction: "Up"
        }, {
            name: "左洞基本照明4-1-左",
            top: 301,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明5-1-左",
            top: 378,
            left: 677,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞出口加强照明",
            top: 301,
            left: 794,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1-左",
            top: 378,
            left: 913,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1-左",
            top: 301,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 378,
            left: 1148,
            key: "",
            direction: "Up"
        },
        {
            name: "母联柜",
            top: 301,
            left: 1347,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 378,
            left: 1465,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机1",
            top: 301,
            left: 1583,
            key: "",
            direction: "Down"
        },
        {
            name: "通风风机2",
            top: 378,
            left: 1701,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机3",
            top: 301,
            left: 1819,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机1",
            top: 378,
            left: 1938,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机2",
            top: 301,
            left: 2056,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机3",
            top: 378,
            left: 2173,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1-右",
            top: 301,
            left: 2291,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1-右",
            top: 378,
            left: 2409,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-1-右",
            top: 301,
            left: 2528,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞出口加强照明1",
            top: 522,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞入口加强照明1",
            top: 599,
            left: 205,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞入口加强照明2",
            top: 522,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞过渡加强照明1",
            top: 599,
            left: 440,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞过渡加强照明2",
            top: 522,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-2-左",
            top: 599,
            left: 677,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明2-2-左",
            top: 522,
            left: 794,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-左",
            top: 599,
            left: 913,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2-左",
            top: 522,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "消防（主）",
            top: 599,
            left: 1464,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-2-右",
            top: 522,
            left: 1582,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-2-右",
            top: 599,
            left: 1701,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-2-右",
            top: 522,
            left: 1819,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-2-右",
            top: 599,
            left: 1938,
            key: "",
            direction: "Up"
        },
        {
            name: "备用5-2-右",
            top: 522,
            left: 2051,
            key: "",
            direction: "Down"
        },
        {
            name: "备用6-2-右",
            top: 599,
            left: 2172,
            key: "",
            direction: "Up"
        },
        {
            name: "备用7-2-右",
            top: 522,
            left: 2291,
            key: "",
            direction: "Down"
        },
        {
            name: "备用8-2-右",
            top: 599,
            left: 2409,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明1-3-左",
            top: 743,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明2-3-左",
            top: 820,
            left: 205,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明3-3-左",
            top: 743,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明4-3-左",
            top: 820,
            left: 440,
            key: "",
            direction: "Up"
        },
        {
            name: "引道照明",
            top: 743,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "消防（备）",
            top: 820,
            left: 677,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-3-左",
            top: 743,
            left: 794,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-3-左",
            top: 820,
            left: 913,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明1-3-右",
            top: 743,
            left: 1421,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明2-3-右",
            top: 820,
            left: 1540,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明3-3-右",
            top: 743,
            left: 1658,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明1-3-右",
            top: 820,
            left: 1776,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明2-2-右",
            top: 743,
            left: 1895,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明3-3-右",
            top: 820,
            left: 2012,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-3-右",
            top: 743,
            left: 2130,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-右",
            top: 820,
            left: 2248,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-3-右",
            top: 743,
            left: 2367,
            key: "",
            direction: "Down"
        },
        {
            name: "车行横洞配电箱",
            top: 820,
            left: 2484,
            key: "",
            direction: "Up"
        },
        {
            name: "变电所用电",
            top: 962,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "UPS",
            top: 1039,
            left: 205,
            key: "",
            direction: "Up"
        },
        {
            name: "左检修插座",
            top: 962,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右检修插座",
            top: 1039,
            left: 440,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-4-左",
            top: 962,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-4-左",
            top: 1039,
            left: 677,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-4-左",
            top: 962,
            left: 794,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-4-左",
            top: 1039,
            left: 913,
            key: "",
            direction: "Up"
        },
        {
            name: "EPS回路",
            top: 962,
            left: 1031,
            key: "",
            direction: "Down"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_FuLongHengDongSvgComponent
